package com.tata.test;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.ibatis.CommonDBImpl;
import com.tata.test.bean.UserBean;

@Service
@Transactional
public class UserService implements UserServiceInte {

	@Autowired
	private CommonDBImpl commonDBImpl = null;

	public List<UserBean> getUserList() throws Exception {
		List<UserBean> userList =  (List<UserBean>) commonDBImpl.list("user.getUser");
		return userList;
	}

}
